package cn.four.hqServer.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author znb
 * @since 2023-02-23
 */
@TableName("hq_yh_tran")
@ApiModel(value = "HqYhTran对象", description = "")
public class HqYhTran implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键作用")
    @TableId
    private Long id;

    @ApiModelProperty("银行卡号")
    private String cardId;

    @ApiModelProperty("业务类型")
    private Integer businessType;

    @ApiModelProperty("交易金额")
    private BigDecimal tranAmount;

    @ApiModelProperty("交易时间")
    private LocalDateTime tranTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }
    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }
    public BigDecimal getTranAmount() {
        return tranAmount;
    }

    public void setTranAmount(BigDecimal tranAmount) {
        this.tranAmount = tranAmount;
    }
    public LocalDateTime getTranTime() {
        return tranTime;
    }

    public void setTranTime(LocalDateTime tranTime) {
        this.tranTime = tranTime;
    }

    @Override
    public String toString() {
        return "HqYhTran{" +
            "id=" + id +
            ", cardId=" + cardId +
            ", businessType=" + businessType +
            ", tranAmount=" + tranAmount +
            ", tranTime=" + tranTime +
        "}";
    }
}
